<?php
/**
 * Author: 式神(vashi)
 * email: 289650682@qq.com
 * Date: 2019/3/7 16:43
 * FileName: TagsArticle.php
 */

namespace app\cms\model;

class TagsArticle extends Common
{
    protected $tip_name = '文章标签';
    protected $validate;
    protected $table;

    public function initialize()
    {
        parent::initialize();
        $this->validate = new \app\cms\validate\TagsArticle();
    }

    //添加内容
    public function add($input){
        return $this->addModel($input);
    }

    //编辑内容
    public function edit($input){
        return $this->editModel($input);
    }

    public function del($input){
        $res = $this->delModel($input);
        return $res;
    }
}